import request from "../utils/request";

// params: { offset, pageSize }
// params为对象，自动拼接非空参数
export const queryAllEmp = (params) => {
    return request.get('/clazzs', { params })
}

export const addClazz = (data) => {
    return request.post('/clazzs', data)
}

export const deleteClazz = (ids) => {
    return request.delete(`/clazzs?ids=${ids}`)
}